A PHP Error was encountered

Severity: 8192

Message: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

Filename: hooks/compress.php

Line Number: 22

Backtrace:

File: /home/appser01/public_html/application/hooks/compress.php
Line: 22
Function: preg_replace

File: /home/appser01/public_html/index.php
Line: 315
Function: require_once